import request from '@/utils/request'

export function getWebConfig() {
  return request({
    url: process.env.VUE_APP_ADMIN_API + '/webConfig/',
    method: 'get'
  })
}

export function editWebInfo(params) {
  return request({
    url: process.env.VUE_APP_ADMIN_API + '/webConfig/add',
    method: 'post',
    data: params
  })
}

export function editWebFollow(params) {
  return request({
    url: process.env.VUE_APP_ADMIN_API + '/webConfig/add',
    method: 'post',
    data: params
  })
}
